package com.hxiaoyi.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * zookeeper服务8004
 * @EnableDiscoveryClient 注解用于向使用consul或者zookeeper作为注册中心时提供服务
 * @author 黄敬意
 * @date 2022-02-03 23:04
 **/
@SpringBootApplication
@EnableDiscoveryClient
public class PaymentMain8004 {
    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8004.class, args);
        System.out.println("zookeeper服务8004启动成功");
    }
}
